package by.semerikov.entity;

public class CarEntity {
	private Integer id;
	private String model;
	private String state;
	private Integer ownerId;
	
	public  CarEntity()
	{}

	public CarEntity(Integer id, String model, String state, Integer ownerId) { 
		this.id = id;
		this.model = model;
		this.state = state;
		this.ownerId = ownerId;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Integer getOwnerId() {
		return ownerId;
	}

	public void setOwnerId(Integer ownerId) {
		this.ownerId = ownerId;
	}
	
	
}
